Skip to content

Matrix optimizations#32

Draft
vincentmacri wants to merge 25 commits into
developfrom
matrix_optimization
Draft

Matrix optimizations#32
vincentmacri wants to merge 25 commits into
developfrom
matrix_optimization

Conversation

@vincentmacri

@vincentmacri vincentmacri commented May 5, 2026

Copy link
Copy Markdown
Owner

For running CI and tracking performance until a PR is ready.

Benchmarking code:

import sage.matrix.benchmark as b

b.report([b.matrix_multiply_GF, b.matrix_multiply_QQ, b.matrix_multiply_ZZ], 'Matrix multiplication benchmarks', systems=['sage'], n=1000, times=5)

@vincentmacri

Copy link
Copy Markdown
Owner Author

Before changes:

======================================================================
          Matrix multiplication benchmarks
======================================================================
Linux localhost.localdomain 6.19.14-100.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 23 16:30:11 UTC 2026 x86_64 GNU/Linux


----------------------------------------------------------------------
matrix_multiply_GF: n=1000, p=16411, times=5
           sage
          0.184
----------------------------------------------------------------------
matrix_multiply_QQ: n=1000, bnd=2, times=5
           sage
          0.615
----------------------------------------------------------------------
matrix_multiply_ZZ: n=1000, min=-9, max=9, times=5
           sage
          0.476
======================================================================

@vincentmacri vincentmacri force-pushed the matrix_optimization branch from 166f46c to 90ddca4 Compare May 7, 2026 14:36
@vincentmacri vincentmacri changed the base branch from develop to matrix_benchmarks May 7, 2026 15:17
@vincentmacri vincentmacri force-pushed the matrix_optimization branch from 14349af to 569a18a Compare May 12, 2026 01:30
@vincentmacri vincentmacri changed the base branch from matrix_benchmarks to develop May 13, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant